/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.openbravo.bean.erp.viewbean;

import cn.ekuma.data.dao.bean.IKeyed;
import cn.ekuma.data.dao.bean.I_ViewBean;
import java.util.Date;

/**
 *
 * @author Administrator
 */
public class FindOrdersInfo implements I_ViewBean ,IKeyed<String>{

    /**
	 * 
	 */
	private static final long serialVersionUID = -2319110398003123407L;
	public String id;
    public String orderid;
    public String defineType;
    public int ordertype;
    public Date date;
    public String location;
    public String name;
    public String customer;
    public double totalPrice;
    public String memo;

    public String currentState;
    public String m_sResponse;
    public double m_dPriceRate;//整单折扣率
    public String locationRef1;//发生的相关库存地址1（只用与内库调拨时有用
    
    public String defineTypeId;

    private double debt;//赊账额
    
    public java.util.Date m_dRefDate;//参照时间
    
    /** Creates new ProductInfo */
    public FindOrdersInfo() {
    }

    public FindOrdersInfo(String id, String orderid, String defineType, int ordertype, Date date, String location, String name, String customer, double totalPrice) {
        this.id = id;
        this.orderid = orderid;
        this.defineType = defineType;
        this.ordertype = ordertype;
        this.date = date;
        this.location = location;
        this.name = name;
        this.customer = customer;
        this.totalPrice = totalPrice;
    }

    public String getOrderId(){
        return this.orderid;
    }

    public int getOrderType(){
        return this.ordertype;
    }

    public String getDefineType() {
        return defineType;
    }

    public String getCustomer() {
        return customer;
    }

    public Date getDate() {
        return date;
    }

    public String getName() {
        return name;
    }

    public String getLocation() {
        return location;
    }

    public String getId() {
        return id;
    }

    public double getTotalPrice() {
        return totalPrice;
    }

    public String getMemo() {
        return memo;
    }

    public String getCurrentState() {
        return currentState;
    }

    public String getLocationRef1() {
        return locationRef1;
    }

    public double getM_dPriceRate() {
        return m_dPriceRate;
    }

    public String getM_sResponse() {
        return m_sResponse;
    }

    public String getOrderid() {
        return orderid;
    }

    public int getOrdertype() {
        return ordertype;
    }

	public void setId(String id) {
		this.id = id;
	}

	public void setOrderid(String orderid) {
		this.orderid = orderid;
	}

	public void setDefineType(String defineType) {
		this.defineType = defineType;
	}

	public void setOrdertype(int ordertype) {
		this.ordertype = ordertype;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setCustomer(String customer) {
		this.customer = customer;
	}

	public void setTotalPrice(double totalPrice) {
		this.totalPrice = totalPrice;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public void setCurrentState(String currentState) {
		this.currentState = currentState;
	}

	public void setM_sResponse(String m_sResponse) {
		this.m_sResponse = m_sResponse;
	}

	public void setM_dPriceRate(double m_dPriceRate) {
		this.m_dPriceRate = m_dPriceRate;
	}

	public void setLocationRef1(String locationRef1) {
		this.locationRef1 = locationRef1;
	}

	public String getDefineTypeId() {
		return defineTypeId;
	}

	public void setDefineTypeId(String defineTypeId) {
		this.defineTypeId = defineTypeId;
	}

	public double getDebt() {
		return debt;
	}

	public void setDebt(double debt) {
		this.debt = debt;
	}

	public java.util.Date getM_dRefDate() {
		return m_dRefDate;
	}

	public void setM_dRefDate(java.util.Date m_dRefDate) {
		this.m_dRefDate = m_dRefDate;
	}

	@Override
	public String getKey() {
		return id;
	}
}
